<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml" xmlns:shiro="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=yes">
</head>
<body>
<!--头部-->
<div th:fragment="header">
    <div class="home_header">
        <div class="clearfix warp">
            <a href="#" class="home_lol"><img src="/images/logo.png"></a>
            <div class="clearfix home_lor">
                <a type="button" class="layui-btn layui-btn-normal" shiro:lacksRole="Guest,Driver,Carrier" target="_blank" href="/admin/main"  style="float: left;line-height: 42px;margin: 15px 30px 0px 0px;">
                    To Admin Page
                </a>
                <a href="#" class="home_user">
                    <img src="/images/a8.png" class="">
                    <span th:text="${session.currentUser.phone}"></span>
                </a>
                <a href="/logout" class="home_exit">
                    <img src="/images/a10.png">Exit
                </a>
            </div>
            <!-- <header class="cd-header"><a href="#0" class="cd-3d-nav-trigger nav_open"><span></span></a></header> -->
        </div>
    </div>
    <div class="home_nav">
        <ul class="home_nav_list clearfix">
            <li th:class="${data.active==0}? 'active'"><a href="/index.html">Home</a></li>
            <li th:class="${data.active==1}? 'active'"><a href="/home/order.html?order_type=1">Order</a></li>
            <li th:class="${data.active==2}? 'active'"><a href="/home/shuttle.html">Shuttle</a></li>
            <li th:class="${data.active==3}? 'active'"><a href="/home/charter.html">Charter</a></li>
            <!--Auction 竞拍 游客无此权限 -->
            <li th:class="${data.active==4}? 'active'" shiro:lacksRole="Guest" ><a href="/home/auctionOrder.html">Auction</a></li>
            <li th:class="${data.active==5}? 'active'"><a href="/home/cashier.html">Cashier</a></li>
        </ul>
    </div>
</div>

<!--底部菜单-->
<div th:fragment="home_foot">
    <div class="home_foot">
        <div class="clearfix lg_boa">
            <a href="/home/contactUs.html">Contact Us</a>
            <a href="/home/aboutUs.html">About Us</a>
            <a href="/home/readmeBeforeUse.html">Readme Before Use</a>
        </div>
        <p class="lg_boits">@Better Price Better Go</p>
    </div>
</div>


</body>
</html>
